namespace Delphi.Mimir.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class ManagedProductFix1 : DbMigration
    {
        public override void Up()
        {
            AddColumn("fin.pfm_orders", "mpo_max_amount", c => c.Decimal(precision: 18, scale: 6));
            AddColumn("fin.pfm_orders", "mpo_limit", c => c.Decimal(precision: 18, scale: 6));
            AddColumn("fin.pfm_orders", "mpo_cancelled_fg", c => c.Boolean(nullable: false));
            AddColumn("fin.pfm_orders", "mpo_executed_fg", c => c.Boolean(nullable: false));
        }
        
        public override void Down()
        {
            DropColumn("fin.pfm_orders", "mpo_executed_fg");
            DropColumn("fin.pfm_orders", "mpo_cancelled_fg");
            DropColumn("fin.pfm_orders", "mpo_limit");
            DropColumn("fin.pfm_orders", "mpo_max_amount");
        }
    }
}
